<?php
$this->load->view('layout/header');
?>
<script>
    function tips() {
        var msg = ''
        var url = ''
        var icon = 9;
        if (typeof (arguments[0]) != 'undefined') {
            msg = arguments[0];
        }
        if (typeof (arguments[1]) != 'undefined') {
            url = arguments[1];
        }
        if (typeof (arguments[2]) != 'undefined') {
            icon = arguments[2];
        }
        
        layer.alert(msg, icon);
        $('.xubox_close,.xubox_yes').click(function() {
            location = url;
        });
    }
<?php
echo $js_fun . '("' . implode('","', $param) . '")';
?>
</script>

<?php
$this->load->view('layout/footer');
?>
